from django import template

register = template.Library()


@register.filter(name="rev")
def do_rev(val):
    return val[::-1]
